package org.i1510.base.service.impl;
import java.util.List;

import org.i1510.base.dao.IBasePoDao;
import org.i1510.base.po.BasePo;
import org.i1510.base.service.IBasePoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("iBasePoService")
public class BasePoService implements IBasePoService{

    @Autowired
    private IBasePoDao iBasePoDao;


    
    public List findId(String docId) throws Exception {
        return iBasePoDao.findId(docId);
    }
    public int add(BasePo basePo) throws Exception{
    	return iBasePoDao.add(basePo);
    }
    public int del(String docId) throws Exception{
    	return iBasePoDao.del(docId);
    }
    public int update(BasePo basePo) throws Exception{
    	return iBasePoDao.update(basePo);
    }

    public int adds(List list) throws Exception{
    	return iBasePoDao.adds(list);
    }
    
}